---
title: Users router
description: An overview of the Users router
---

## Procedures

The users router has the following procedures:

### Update the user profile

Updates the user's profile. The user can update their name, email, and avatar.

```typescript
// Client components
const { data } = useMutation(trpc.users.updateProfile.mutationOptions())

// Server components
const data = await caller.users.updateProfile()
```
